Skip to content

Update GCC from 7.3.0 to 7.5.0 #1505

Merged
merged 1 commit into from
Nov 29, 2019
Merged

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Nov 28, 2019

Tested on keineahnung.

From the [announcement][1].

> GCC 7.5 is a bug-fix release from the GCC 7 branch
> containing important fixes for regressions and serious bugs in
> GCC 7.4 with more than 215 bugs fixed since the previous release.
>
> This is also the last release from the GCC 7 branch which will receive
> no further fixes from now on.  GCC continues to be maintained on
> the GCC 8 and GCC 9 branches and the development trunk.

[1]: https://gcc.gnu.org/ml/gcc/2019-11/msg00099.html
@donald donald merged commit f1a6233 into master Nov 29, 2019
@wwwutz
Copy link
Collaborator

wwwutz commented Dec 2, 2019

Houston ?

[BEE] make SYSSRC=/scratch/local2/beehive/nvidia_linux-4.14.87-236-390.87-0/tmp/linux-4.14.87-236.x86_64/source module
make[1]: Entering directory '/scratch/local2/beehive/nvidia_linux-4.14.87-236-390.87-0/tmp/linux-4.14.87-236.x86_64/source'

Compiler version check failed:

The major and minor number of the compiler used to
compile the kernel:

gcc version 7.3.0 (GCC)

does not match the compiler used here:

cc (GCC) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


It is recommended to set the CC environment variable
to the compiler that was used to compile the kernel.

The compiler version check can be disabled by setting
the IGNORE_CC_MISMATCH environment variable to "1".
However, mixing compiler versions between the kernel
and kernel modules can result in subtle bugs that are
difficult to diagnose.

*** Failed CC version check. Bailing out! ***

make[2]: *** [/scratch/local2/beehive/nvidia_linux-4.14.87-236-390.87-0/buildroot/nvidia/nvidia_linux-4.14.87-236-390.87-0/source/kernel/Kbuild:180: cc_version_check] Error 1

@pmenzel
Copy link
Collaborator Author

pmenzel commented Dec 2, 2019

I can’t think of a nice solution to fix that. Issue #1509 is there to remind us for future nvidia_linux bee packages.

@pmenzel pmenzel deleted the update-gcc-from-7.3.0-to-7.5.0 branch December 5, 2019 10:09
wwwutz added a commit that referenced this pull request Dec 5, 2019
rebuilding the drivers resulted in

```
[BEE] make SYSSRC=/scratch/local2/beehive/nvidia_linux-4.14.87-236-390.87-0/tmp/linux-4.14.87-236.x86_64/source module
make[1]: Entering directory '/scratch/local2/beehive/nvidia_linux-4.14.87-236-390.87-0/tmp/linux-4.14.87-236.x86_64/source'

Compiler version check failed:

The major and minor number of the compiler used to
compile the kernel:

gcc version 7.3.0 (GCC)

does not match the compiler used here:

cc (GCC) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


It is recommended to set the CC environment variable
to the compiler that was used to compile the kernel.

The compiler version check can be disabled by setting
the IGNORE_CC_MISMATCH environment variable to "1".
However, mixing compiler versions between the kernel
and kernel modules can result in subtle bugs that are
difficult to diagnose.

*** Failed CC version check. Bailing out! ***
```

fixed by feeding `IGNORE_CC_MISMATCH=1`.

refs: #1505 / #1509
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants